package com.leased.pojo;

import com.leased.request.BaseEntity;
import java.util.Date;

public class TbItemCuser extends BaseEntity {
    private Integer itemCuserId;

    private Integer cuserId;

    private Integer itemId;

    private Date pushTime;

    public Integer getItemCuserId() {
        return itemCuserId;
    }

    public void setItemCuserId(Integer itemCuserId) {
        this.itemCuserId = itemCuserId;
    }

    public Integer getCuserId() {
        return cuserId;
    }

    public void setCuserId(Integer cuserId) {
        this.cuserId = cuserId;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TbItemCuser other = (TbItemCuser) that;
        return (this.getItemCuserId() == null ? other.getItemCuserId() == null : this.getItemCuserId().equals(other.getItemCuserId()))
            && (this.getCuserId() == null ? other.getCuserId() == null : this.getCuserId().equals(other.getCuserId()))
            && (this.getItemId() == null ? other.getItemId() == null : this.getItemId().equals(other.getItemId()))
            && (this.getPushTime() == null ? other.getPushTime() == null : this.getPushTime().equals(other.getPushTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getItemCuserId() == null) ? 0 : getItemCuserId().hashCode());
        result = prime * result + ((getCuserId() == null) ? 0 : getCuserId().hashCode());
        result = prime * result + ((getItemId() == null) ? 0 : getItemId().hashCode());
        result = prime * result + ((getPushTime() == null) ? 0 : getPushTime().hashCode());
        return result;
    }
}